//
//  RecommendCell.m
//  YoucApp
//
//  Created by Liam on 11/15/12.
//
//

#import "RecommendCell.h"

@implementation RecommendCell

@synthesize gameImage = _gameImage;
@synthesize gameName = _gameName;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
    [_gameImage release];
    [_gameName release];
    [super dealloc];
}

- (void)prepareForReuse
{
    [super prepareForReuse];
}

- (void)setName:(NSString *)name
{
    self.gameName.text = name;
}

- (void)setImageUrl:(NSString *)urlString
{
    [self.gameImage loadImageFromURL:[NSURL URLWithString:urlString] showLoading:NO];
}

@end
